package org.lex.splitter.ui.awt.actions;

import java.awt.event.ActionEvent;
import java.io.File;

import org.lex.splitter.util.FileChooserUtils;

public class InputButtonAction extends BaseActionListener {
	public void actionPerformed(ActionEvent e) {
		File dir = this.getContentPane().getOutputFolder();
		File file = FileChooserUtils.chooseFile(this.getMainFrame(), dir, true);
		log.info("Input File=" + file);
		this.getContentPane().setInputFile(file);
	}

}
